package com.example.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Date;

/**
 * @program: backend
 * @author: zk
 * @create: 2023-04-23 18:40
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_order")
public class Order {
    /**
     * 订单编号
     */
    private Long orderNo;
    /**
     * 付款金额
     */
    private double payment;

    /**
     * 订单状态
     */
    private int status;
    /**
     * 支付时间
     */
    private Date paymentTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 地址id
     */
    private int shippingId;

    /**
     * 用户id
     */
    private String userId;

}
